package com.situ.edu.dao;

import com.situ.edu.pojo.entity.Teacher;
import com.situ.edu.pojo.query.TeacherQuery;
import com.situ.edu.pojo.vo.TeacherVO;

import java.util.List;

public interface IXiTeacherDao {
    List<TeacherVO> selectByPage(TeacherQuery teacherQuery);

    int selectTotalCount(TeacherQuery teacherQuery);

    void add(Teacher teacher);

    void updateStatus(int id, int status);

    void deleteById(int id);

    Teacher selectById(int id);

    void update(Teacher teacher);
}
